<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script src="1/resources/scripts/jquery-1.7.1.min.js"></script>
<script src="1/resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
<script type="text/javascript">

var item0;
var item1;
var item2;
var item3;
var item4;

var array0 = new Array();
var array1 = new Array();
var array2 = new Array();
var array3 = new Array();
var array4 = new Array();

$(document).ready(function(e) {
	$("#selecter").keyup(function(){
		item0 = $("#selecter").attr("value");
		$("#lab1").text(item0);
		alert(item0);

	});
	/*    $("#selecter").change(function(){
		//item1 = $(this).val();
		//$("#lab1").
		$("#lab1").text($("#selecter").attr("value"));
	});
	$("#lab1").text(teem0);
*/
});
/*
function change()
{
	document.getElementById("lab1").innerHTML = document.getElementById("selecter").value;
}*/
</script>
</head>

<body>
  <label id="lab1" for="selecter">lable</label>
  <input id="selecter"  type="text" name="selecter"/>

<table id="tabShow">
</table>
</body>
</html>
